package com.campus.mapping;

import com.campus.model.TManagerActivity;
import com.campus.model.TManagerTeacher;
import com.campus.model.TSysUser;
import com.campus.model.dto.*;
import com.campus.model.vo.TeacherSelectVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ManagerTeacherMapping {
    ManagerTeacherMapping INSTANCE = Mappers.getMapper(ManagerTeacherMapping.class);

    TManagerTeacher CreatetoTeacher(TManagerTeacherCreateDto managerActivityCreateDto);
    TManagerTeacher UpdatetoTeacher(TManagerTeacherUpdateDto managerActivityUpdateDto);

    TeacherSelectVo toSelectVo(TManagerTeacher managerTeacher);

    TManagerTeacher toTeacher(TManagerTeacherUserCreateDto createDto);

    TSysUser toUser(TManagerTeacherUserCreateDto createDto);

}
